<?php


namespace part16_StateMode\Code4;

/**
 * 抽象状态类
 */
abstract class State
{
    /**
     * @param $work Work
     * @return mixed
     */
    public abstract function writeProgram($work);
}